package com.sanjiahantang.youjiaclient.module.me.order.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiaclient.base.BaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zy on 2017/10/31.
 */

public class CreateServiceOrderResponseBean extends BaseBean {

    private String data;

    public Data getData() {
        return new Gson().fromJson(data,Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data implements Serializable{
        private String customerFaPhone;
        private int oiId;
        private String orderCode;
        private int userRequireId;
        private List<OrderServiceRaDtoListBean> orderServiceRaDtoList;
        private List<OrderServiceRaDtoListBean> serviceRecordList;
        private String token;
        private int phoneTypeId;
        private float payMoney;
        private float payResult;

        public float getPayMoney() {
            return payMoney;
        }

        public void setPayMoney(float payMoney) {
            this.payMoney = payMoney;
        }

        public float getPayResult() {
            return payResult;
        }

        public void setPayResult(float payResult) {
            this.payResult = payResult;
        }

        public List<OrderServiceRaDtoListBean> getServiceRecordList() {
            return orderServiceRaDtoList;
        }

        public void setServiceRecordList(List<OrderServiceRaDtoListBean> serviceRecordList) {
            this.orderServiceRaDtoList = serviceRecordList;
            this.serviceRecordList = serviceRecordList;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public int getPhoneTypeId() {
            return phoneTypeId;
        }

        public void setPhoneTypeId(int phoneTypeId) {
            this.phoneTypeId = phoneTypeId;
        }

        public String getCustomerFaPhone() {
            return customerFaPhone;
        }

        public void setCustomerFaPhone(String customerFaPhone) {
            this.customerFaPhone = customerFaPhone;
        }

        public int getOiId() {
            return oiId;
        }

        public void setOiId(int oiId) {
            this.oiId = oiId;
        }

        public String getOrderCode() {
            return orderCode;
        }

        public void setOrderCode(String orderCode) {
            this.orderCode = orderCode;
        }

        public int getUserRequireId() {
            return userRequireId;
        }

        public void setUserRequireId(int userRequireId) {
            this.userRequireId = userRequireId;
        }

        public List<OrderServiceRaDtoListBean> getOrderServiceRaDtoList() {
            return orderServiceRaDtoList;
        }

        public void setOrderServiceRaDtoList(List<OrderServiceRaDtoListBean> orderServiceRaDtoList) {
            this.orderServiceRaDtoList = orderServiceRaDtoList;
        }
    }

    public static class OrderServiceRaDtoListBean implements Serializable{
        private int oiFaId;
        private String orderCode;
        private int osraId;
        private float payMoney;
        private int serviceType;
        private int statusId;
        private String statusName;

        public int getOiFaId() {
            return oiFaId;
        }

        public void setOiFaId(int oiFaId) {
            this.oiFaId = oiFaId;
        }

        public String getOrderCode() {
            return orderCode;
        }

        public void setOrderCode(String orderCode) {
            this.orderCode = orderCode;
        }

        public int getOsraId() {
            return osraId;
        }

        public void setOsraId(int osraId) {
            this.osraId = osraId;
        }

        public float getPayMoney() {
            return payMoney;
        }

        public void setPayMoney(float payMoney) {
            this.payMoney = payMoney;
        }

        public int getServiceType() {
            return serviceType;
        }

        public void setServiceType(int serviceType) {
            this.serviceType = serviceType;
        }

        public int getStatusId() {
            return statusId;
        }

        public void setStatusId(int statusId) {
            this.statusId = statusId;
        }

        public String getStatusName() {
            return statusName;
        }

        public void setStatusName(String statusName) {
            this.statusName = statusName;
        }
    }
}
